﻿CREATE TABLE [dbo].[User] (
    [Id]           INT            IDENTITY (1, 1) NOT NULL,
    [userId]       NVARCHAR (50)  NOT NULL,
    [fullName]     NVARCHAR (50)  NOT NULL,
    [roleId]       INT            DEFAULT ((3)) NOT NULL,
    [deptId]       NVARCHAR (500) NULL,
    [firstlogtime] DATETIME       NULL,
    [email]        NVARCHAR (50)  NULL,
    CONSTRAINT [PK__User__3214EC07173876EA] PRIMARY KEY CLUSTERED ([Id] ASC) WITH (FILLFACTOR = 100)
);










GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'首次登录时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'User', @level2type = N'COLUMN', @level2name = N'firstlogtime';

